package com.itheima.flyweight;

/**
 * @author zzw
 * @date 2025/10/22
 * @description 抽象形状类（抽象享元角色）
 */
public abstract class AbstractBox {

    public abstract String getShape();

    public void display(String color) {
        System.out.println("方块形状：" + this.getShape() + " 颜色：" + color);
    }
}
